package com.aaa.dao;

import com.aaa.entity.Order;

import java.util.List;

public interface UserDao {

    int updateOrderByOrderId(Order order);

    int updateVerifyOrderByOrderId(Integer orderId, Integer status);

    int getAllOrderInfoCount(Integer orderId, Integer cardId);

    List<Order> findAllOrder(Integer pageNumber, Integer pageSize, Integer orderId, Integer cardId);

    List<Order> findOrderByOrderId(int orderId);

    List<Order> findOrderByCardId(int cardId);

}
